<script>
export default {
  name: 'Pill',
  props: {
    name: {
      type: String,
      required: true
    }
  }
}
</script>

<template>
  <div class="control">
    <div class="tags has-addons">
      <span class="tag">{{ name }}</span>
      <a class="tag is-delete" @click.prevent="$emit('delete')"></a>
    </div>
  </div>
</template>

<style lang="scss"></style>
